﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using System.Globalization;
using System.Configuration;

namespace OgilvyOne.Sharan.BLL
{
    public class ConfigCacheManager
    {
        public static readonly string AppKey = ConfigurationSettings.AppSettings["appKey"];
        public static readonly string AppSecret = ConfigurationSettings.AppSettings["appSecret"];
        public static readonly string RedirectUri = ConfigurationSettings.AppSettings["redirectUri"];
        public static readonly string StatusTag = ConfigurationSettings.AppSettings["statusTag_sharan"];
        public static readonly int KOLRequestTimeSpan = int.Parse(ConfigurationSettings.AppSettings["kolRequestTimeSpan_sharan"]);
        public static readonly int WeiboUserRequestTimeSpan = int.Parse(ConfigurationSettings.AppSettings["weiboUserRequestTimeSpan_sharan"]);
        public static readonly string WeiboAccountName = ConfigurationSettings.AppSettings["weiboAccountName_sharan"];
        public static readonly string WeiboAccountPassword = ConfigurationSettings.AppSettings["weiboAccountPassword_sharan"];
        public static readonly int WeiboPageSize = int.Parse(ConfigurationSettings.AppSettings["weiboPageSize"]);
        public static readonly int TemplateCount = int.Parse(ConfigurationSettings.AppSettings["templateCount"]);
    }
}